//
//  WorkCover.m
//  SoundPill
//
//  Created by 温冬 on 15/6/16.
//  Copyright (c) 2015年 宋旭东. All rights reserved.
//

#import "WorkCover.h"

@implementation WorkCover

- (instancetype) initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        // 创建子视图
        [self createSubviews];
    }
    return self;
}

- (void)createSubviews
{
    self.imageview = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    [self addSubview:self.imageview];
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
